//
//  ViewController.m
//  111
//
//  Created by 李腾飞 on 14/12/25.
//  Copyright (c) 2014年 李腾飞. All rights reserved.
//

#import "ViewController.h"
#define HEIGHT [UIScreen mainScreen].bounds.size.height

@interface ViewController ()

@end

@implementation ViewController
@synthesize ContentViewHeight;
@synthesize refView;
@synthesize scroll;
@synthesize ContentView;

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

//  判断大小，做出适配
-(void)viewWillLayoutSubviews
{
    if(HEIGHT>600)
    {
        ContentViewHeight.constant=HEIGHT;
    }
}

@end
